//
//  FCTableView.m
//  FCMainFrameWork_Example
//
//  Created by WJC on 2020/3/25.
//  Copyright © 2020 64912907. All rights reserved.
//

#import "FCTableView.h"

@implementation FCTableView

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer{
    
    return YES;
}
- (void)reloadDataSmoothly{
    
    

            [UIView setAnimationsEnabled:NO];
            [CATransaction begin];

            [CATransaction setCompletionBlock:^{
                [UIView setAnimationsEnabled:YES];
            }];

            [self reloadData];
            [self beginUpdates];
            [self endUpdates];

            [CATransaction commit];


}
@end
